package com.lightsh.widget.testactivity;

import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.TextView;
import com.lightsh.widget.R;

public class ViewContentActivity extends Activity{
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        
        setContentView(R.layout.view_content);
        
        
        TextView textView = (TextView)findViewById(R.id.Text);
        textView.setText(getIntent().getExtras().getString("name"));
        setTitle(getIntent().getExtras().getString("name"));
    }
}
